/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hoja.de.trabajo5;

/**
 *
 * @author FAMILIA
 */



public interface Interfas5<E> {
    
    
public void add(E value);
// pre: value is non-null
// post: the value is added to the collection,
// the consistent replacement policy is not specified

public E get();
// pre: structure is not empty
// post: returns reference to next object to be removed
public E remove();
// pre: structure is not empty
// post: removes an object from store
public int size();
// post: returns the number of elements in the structure
public boolean empty();
// post: returns true if and only if the linear structure is empty 
    
    
}
